Skip to content

Conversation

@danirabbit
Copy link
Member

@danirabbit danirabbit commented Apr 18, 2025

Screenshot from 2025-04-17 17 24 57

Somewhat related to #802, but doesn't actually solve that issue. We need to cache covers on disk anyways to send them to MPRIS

@danirabbit danirabbit requested a review from a team April 18, 2025 00:25
@danirabbit danirabbit marked this pull request as draft April 18, 2025 01:31
@danirabbit danirabbit marked this pull request as ready for review April 18, 2025 02:48
@danirabbit danirabbit added this to OS 9 Apr 18, 2025
@danirabbit danirabbit moved this to Needs Review in OS 9 Apr 18, 2025
}

private async string save_art_file (Gdk.Texture texture, File file) throws Error requires (texture != null) {
DirUtils.create_with_parents (get_art_cache_dir (), 0755);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this the right permission to use? I would think 644 since it doesn't need to be executable

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's because this is for the parent folder, not the file. So for folders 7 is access, not execute

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oooooh!

@danirabbit danirabbit requested a review from zeebok June 3, 2025 20:08
@zeebok zeebok merged commit d34b67c into main Jun 4, 2025
3 checks passed
@zeebok zeebok deleted the danirabbit/mpris-arturl branch June 4, 2025 23:55
@github-project-automation github-project-automation bot moved this from Needs Review to Done in OS 9 Jun 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants